package com.myplans.client.view;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Widget;
import com.myplans.client.presenter.ProfilePresenter.ProfileDisplay;

public class ProfileView extends Composite implements ProfileDisplay{

	private static ProfileViewUiBinder uiBinder = GWT
			.create(ProfileViewUiBinder.class);

	interface ProfileViewUiBinder extends UiBinder<Widget, ProfileView> {
	}

	public ProfileView() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@UiField
	Hyperlink myplans;
	@UiField
	Hyperlink notifications;
	@UiField
	Hyperlink settings;
	@UiField
	FlowPanel rightPanel;
	
	public ProfileView(String firstName) {
		initWidget(uiBinder.createAndBindUi(this));
	}

	public Hyperlink getMyplans() {
		return myplans;
	}

	public Hyperlink getNotifications() {
		return notifications;
	}

	public Hyperlink getSettings() {
		return settings;
	}

	public FlowPanel getRightPanel() {
		return rightPanel;
	}

}
